'''
Description: 
Author: Zilu
Date: 2021-11-06 18:45:52
Version: 
LastEditTime: 2021-11-06 18:46:56
LastEditors: Zilu
'''
# 练习：使用lambda函数改变代码
def is_odd(n):
    return n % 2 == 1

L = list(filter(is_odd, range(1, 20)))
L1 = list(filter(lambda n: n % 2 == 1, range(1,20)))


